﻿using SecurityApi.DataAccess;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace SecurityAdmin.Web.Models
{
    public class UserRoleViewModel
    {
        public int UserId { get; set; }
        public List<Role> AvailableRoles { get; set; }
        public List<Role> AssignedRoles { get; set; }


        public UserRoleViewModel()
        {
            AvailableRoles = new List<Role>();
            //AvailableRoles.Add(new Role { RoleId = 1, ApplicationId = 1, RoleName = "Role 1" });
            //AvailableRoles.Add(new Role { RoleId = 2, ApplicationId = 1, RoleName = "Role 2" });
            //AvailableRoles.Add(new Role { RoleId = 3, ApplicationId = 1, RoleName = "Role 3" });
            //AvailableRoles.Add(new Role { RoleId = 4, ApplicationId = 1, RoleName = "Role 4" });

            //AvailableRoles.Add(new Role { RoleId = 5, ApplicationId = 1, RoleName = "Role 5" });
            //AvailableRoles.Add(new Role { RoleId = 6, ApplicationId = 1, RoleName = "Role 6" });
            //AvailableRoles.Add(new Role { RoleId = 7, ApplicationId = 1, RoleName = "Role 7" });
            //AvailableRoles.Add(new Role { RoleId = 8, ApplicationId = 1, RoleName = "Role 8" });

            //AssignedRoles = new List<Role>();
            //AssignedRoles.Add(new Role { RoleId = 9, ApplicationId = 1, RoleName = "Role 9" });
        }
    }
}